//tab图标下文字大小：
$tab-font-size: 9px;
//筛选框高度----导航栏下导航
$list-filter-height: 44px;

.hr-filter-bar {
  .bar-filter {
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;

    -webkit-align-items: center;
    align-items: center; /*垂直居中*/

    -webkit-justify-content: center;
    justify-content: center; /*水平居中*/
    top:$list-filter-height;
    position: absolute;
    z-index: 22;
    height: $list-filter-height !important;
    background-color: $list-background-color;
  }
  .bar-filter > li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    color: $primary-text-color;
    text-align: center;
    font-size: $font-primary-normal;
    margin-top:0 !important;
    input {
      text-align: center;
    }
    &.active {
      color: $primary-text-color;
    }
    .ion-chevron-down {
      font-size: $tab-font-size;
      margin-left: 5px;
    }
    ul {
      display: none;
      position: absolute;
      left: 0;
      background: $list-background-color;
      width: 100%;
      top:$list-filter-height;
      li {
        border-bottom: 1px solid $universally-border-color;
        height: $list-filter-height;
        line-height: $list-filter-height;
        text-align: left;
        margin: 0 10px
      }
      .ion-checkmark {
        color: $styleColor;
        margin: auto 15px auto 15px;
      }
      .ion-checkmark {
        visibility: hidden;
      }
      li.checked {
        //color: $primary-text-color;
        color: $styleColor;
        //font-weight: bold;
        border-bottom: 1px solid $styleColor;
        .ion-checkmark {
          visibility: visible;
        }

      }

    }
    &.active ul {
      display: block;
    }
  }

  .post-picker-backdrop {
    display: none;
  }
  &.pickerbackdrop .post-picker-backdrop {
    display: block;
  }
  .filter-picker {
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 1px solid #ccc;
    margin-top: -1px;
    .filter-span {
      margin-left: 5%;
    }
  }
  .filter-picker.active {
    display: block
  }
  .filter-picker-mutiple {
    text-align: left;
    padding-top: 10px;
    .btns {
      padding-left: 20px;
      padding-bottom: 20px;
      .button, .button:hover {
        border-radius: 3px;
        width: 75px;
        height: 30px;
        line-height: 30px;
        padding: 0;
        margin-right: 15px;
        margin-bottom: 10px;
      }
    }
    .btns-title {
      font-size: 14px;
      padding: 10px 0;
    }

    .button-bar {
      border-top: 1px solid $universally-border-color;
      .button {
        height: 40px;
        line-height: 40px;
        margin: 0;
      }

    }

  }
}
.platform-ios.platform-cordova .hr-filter-bar .bar-filter{
  top:64px;
}
